package cate.game.play.proce.result;

import cate.common.table.d.GDPlay;
import easy.java.dev.note.NoteClass;
import easy.java.dev.note.NoteField;

@NoteClass("复活结果")
public class ResurrectResult extends ActionResult<ResurrectResult> {

    public ResurrectResult() {
        this.type = GDPlay.ResultType.RESURRECT;
    }

    @NoteField(value = "恢复生命值",detail = "可能会超过血上限")
    public long val;

    @NoteField("当前生命值")
    public long hp;


    public ResurrectResult valSet(long val) {
        this.val = val;
        return this;
    }

    public ResurrectResult hpSet(double hp) {
        this.hp = (long) hp;
        return this;
    }

}
